#ifndef IMAGESORT_H
#define IMAGESORT_H

#include <QtCore>
#include <QStringList>
#include <QFileInfo>
#include <QDateTime>

class ImageSort
{
public:
    ImageSort();
    // Sort list which is a list of image files
    // according to date of created time
    ImageSort(const QStringList& list);
    ~ImageSort();

private:
    void merge_sort(int low, int high);
    void merge(int low, int mid, int high);

    QStringList theList;
    QString temp[];

};

#endif // IMAGESORT_H
